<template>
  <div style="width: 50%;margin: 0 auto">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="预约登记" name="first">
        <AddMoveInfo></AddMoveInfo>
      </el-tab-pane>
      <el-tab-pane label="个人中心" name="second">
        <Person></Person>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import AddMoveInfo from "@/views/normal/AddMoveInfo";
import Person from "@/views/person/Person";
export default {
  components: {Person, AddMoveInfo},
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>

<style scoped>

</style>
